<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes( 'xhtml' ); ?>>
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title><?php wp_title( '-', true, 'right' ); echo esc_html( get_bloginfo('name'), 1 ); ?></title>
<?php if(get_option('T_auto_description') == "On"){ auto_description(); }?>
<?php if(get_option('T_auto_keywords') == "On"){ auto_keywords(); } echo a();?>
<meta name="viewport" content="width=device-width" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
<?php wp_head(); ?>
</head>
<body <?php body_class();echo hd();?>>
<div id="head">
<div id="logo">
<?php if(get_option('T_logo') == "On") {?>
<h1><a href="<?php bloginfo('url'); ?>" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?></a></h1><?php bloginfo('description'); ?>
<?php } else {?>
<a href="<?php bloginfo('url'); ?>" title="<?php bloginfo('name'); ?> - <?php bloginfo('description'); ?>"><img src="<?php bloginfo('template_url'); ?>/images/logo.png" alt="<?php bloginfo('name'); ?>" /></a>
<?php } ?>
</div><?php get_search_form(); ?>
</div>
<div id="menu">
<?php wp_nav_menu(array('menu' => 'Menu', 'theme_location' => 'Menu', 'depth' => 2, 'container' => 'ul', 'menu_id' => "menunav", 'menu_class' => 'menunav',)); ?>
<div class="icon">
<a href="<?php if(get_option('T_feed') != "") { echo get_option('T_feed'); } else { ?>http://www.jeff.asia/feed/<?php } ?>" title="订阅" target="_blank"><img src="<?php bloginfo('template_directory'); ?>/images/rss.gif" /></a><?php if(get_option('T_mail') != "") {?><a href="<?php echo get_option('T_mail'); ?>" title="邮件" target="_blank"><img src="<?php bloginfo('template_directory'); ?>/images/mail.gif" /></a><?php } ?><?php if(get_option('T_sina') != "") {?><a href="<?php echo get_option('T_sina'); ?>" title="新浪微博" target="_blank"><img src="<?php bloginfo('template_directory'); ?>/images/weibo.gif" /></a><?php } ?><?php if(get_option('T_qq') != "") {?><a href="<?php echo get_option('T_qq'); ?>" title="腾讯微博" target="_blank"><img src="<?php bloginfo('template_directory'); ?>/images/qq.gif" /></a><?php } ?><?php if(get_option('T_twitter') != "") {?><a href="<?php echo get_option('T_twitter'); ?>" title="Twitter" target="_blank"><img src="<?php bloginfo('template_directory'); ?>/images/twitter.gif" /></a><?php } ?><?php if(get_option('T_renren') != "") {?><a href="<?php echo get_option('T_renren'); ?>" title="人人网" target="_blank"><img src="<?php bloginfo('template_directory'); ?>/images/renren.gif" /></a><?php } ?>
</div></div>

<div id="container-inner" class="clearfix">